package org.jetnuke.dao;

import java.util.List;

import org.jetnuke.entities.Reviews;

public interface ReviewsDAO {
	public Reviews retrieveByPK(int id) throws Exception ;
	public List selectAll()throws Exception;
	public List selectOrderIDDesc(int limit)throws Exception;
	public int addNew(Reviews rv)throws Exception;

	public List searchOrderDateDesc(String query)throws Exception;

	public List selectOrderHitsDesc(int limit)throws Exception;

	public List selectOrderDateDesc(int limit)throws Exception;
	public void update(Reviews rv)throws Exception;
	public void deleteByPK(int id)throws Exception;
	public void incHits(Reviews rv)throws Exception;
}
